
import Vue from 'vue'
import Vuex from 'vuex'
import recipes from './modules/recipes'
import createPersistedState from 'vuex-persistedstate'

Vue.use(Vuex);
const state = {}
const actions = {}
const mutations = {}
const getters = {}
const store = new Vuex.Store({
	modules: {
		recipes
	},
	actions,
	state,
	mutations,
	getters,
	plugins: [createPersistedState()]
})
export default store;